//
// Created by WINDOWS on 2024/1/9.
//

#ifndef ARITHMETIC_PROJECTS_SEARCH_H
#define ARITHMETIC_PROJECTS_SEARCH_H

//
#include "iostream"
#include "../../All_Header_File/Algorithm/Algorithm.h"

using namespace std;

extern index_type search(data_type a[], index_type num, data_type key);

extern index_type binarySearch(data_type a[], index_type num, data_type key);
extern index_type binarySearch_(data_type a[], index_type low, index_type high, data_type key);

extern index_type insertSearch(data_type a[], index_type num, data_type key);
extern index_type insertSearch_(data_type a[], index_type low, index_type high, data_type key);


#endif //ARITHMETIC_PROJECTS_SEARCH_H
